<template>
  <div class="pageContent">
    <div class="flexBetween">
      <div class="box-border" style="border-right:1px solid #f0f0f0; ">
        <slot name="box-content"></slot>
      </div>

      <div class="right">
        <slot name="right-content"></slot>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: 'pageContent',
  data() {
    return {}
  },
  methods: {}
}
</script>

<style lang="less" scoped>
.pageContent {
  height: calc(100vh - 54px);
  min-width: 700px;
  overflow-y: auto;
  overflow-x: hidden;
}
.box-border {
  width: 330px;

  height: calc(100vh - 54px);
  overflow-y: auto;
  overflow-x: hidden;
}

.right {
  width: calc(100% - 330px);
  height: calc(100vh - 54px);
  padding-top: 10px;
}
</style>
